﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChangePassControl.ascx.cs" Inherits="Hutech.CRM.Web.Controls.ChangePassControl" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <%--<Triggers>
        <asp:AsyncPostBackTrigger ControlID="btnSave" EventName="Click" />
    </Triggers>--%>
    <ContentTemplate>
        <div class="headmodule user">
            <span style="font-weight: normal">Tài khoản:</span> <span>
                <asp:Label ID="lblUserName" runat="server"></asp:Label>
            </span>
        </div>
        <br />
        <fieldset class="form inputForm" style="padding: 10px;">
            <legend class="panelTitle"><span>Thông tin cá nhân</span> </legend>
            <table border="0" cellspacing="0" width="80%" cellpadding="3">
                <tr>
                    <td width="200" class="label">
                        Họ và Tên:
                    </td>
                    <td class="field">
                        <asp:TextBox ID="tbxFirstName" Width="180" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        Tài khoản:
                    </td>
                    <td class="field">
                        <asp:TextBox ID="tbxLoginName" Width="180" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        Mật mã đang dùng:
                    </td>
                    <td class="field">
                        <asp:TextBox ID="tbxCurrentPassword" TextMode="Password" Width="180" runat="server"></asp:TextBox>
                        <asp:CustomValidator ID="CustomValidator1" runat="server" ErrorMessage="*"></asp:CustomValidator>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        Mật mã mới:
                    </td>
                    <td class="field">
                        <asp:TextBox ID="tbxPassword" TextMode="Password" Width="180" runat="server"></asp:TextBox>
                           
                        <asp:CustomValidator ID="CustomValidator4Password" runat="server" ErrorMessage="*"></asp:CustomValidator>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        Nhập lại mật mã:
                    </td>
                    <td class="field">
                        <asp:TextBox ID="tbxRetypePassword" TextMode="Password" Width="180" runat="server"></asp:TextBox>
                        <asp:CompareValidator ID="CompareValidator1" ControlToValidate="tbxRetypePassword"
                            ControlToCompare="tbxPassword" runat="server" ErrorMessage="*"> </asp:CompareValidator>
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        &nbsp;
                    </td>
                    <td class="field">
                        <mC:tsButton ID="btnSave" runat="server" Text="Lưu" />
                        <mC:tsButton ID="btnCancel" runat="server" Text="Thôi" />
                    </td>
                </tr>
                <tr>
                    <td class="label">
                        &nbsp;
                    </td>
                    <td class="field">
                        <asp:Label ID="lblMessage" runat="server" CssClass="message2"></asp:Label>
                    </td>
                </tr>
            </table>
        </fieldset>
    </ContentTemplate>
</asp:UpdatePanel>